package com.xyy.yueshijia.base;

/**
 * Created by lxs on 2017/2/8.
 */

public class BasePresenter<V extends BaseView> {
    protected V mView;

    public void addView(V view) {
        this.mView = view;
    }

    public void dettachView() {
        if (mView != null) {
            mView = null;
        }
    }
}
